﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true" CodeFile="setup_user.aspx.cs" Inherits="setup_user" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <div>
        <table>
            <tr>
                <td>ชื่อเรียก</td>
                <td><asp:TextBox runat="server"></asp:TextBox></td>
                <td></td>
                <td>ชื่อ</td>
                <td><asp:TextBox runat="server"></asp:TextBox></td>
                <td></td>
                <td>นามสกุล</td>
                <td><asp:TextBox runat="server"></asp:TextBox></td>

            </tr>

            <tr>
                
                <td>ล็อกอิน</td>
                <td><asp:TextBox runat="server" ID="txt_login"></asp:TextBox></td>
                <td>รหัสผ่าน</td>
                <td></td>
                <td><asp:TextBox runat="server" ID="txt_password"></asp:TextBox></td>
                <td></td>
                <td></td>
                <td></td>
                
            </tr>
        </table>
    </div>

    <asp:ScriptManager runat="server"></asp:ScriptManager>

    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />

    <div>
        <asp:GridView ID="GridData" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridData_RowDataBound" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical" Width="100%" ShowFooter="True" HorizontalAlign="Center">
            <AlternatingRowStyle BackColor="White" />
            <Columns>

                <asp:TemplateField HeaderText="" ItemStyle-Width="30" ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                        <asp:CheckBox ID="chk" runat="server" />
                    </ItemTemplate>
                    <FooterTemplate>
                        <asp:Button ID="btndel" runat="server" Text="Delete" OnClick="btndel_Click" />

                        <asp:ConfirmButtonExtender ID="btndel_ConfirmButtonExtender" runat="server" ConfirmText="ต้องการลบข้อมูล?" Enabled="True" TargetControlID="btndel">
                        </asp:ConfirmButtonExtender>

                    </FooterTemplate>
                    <ItemStyle HorizontalAlign="Center" Width="30px" />
                </asp:TemplateField>

                <asp:TemplateField HeaderText="" Visible="False">
                    <ItemTemplate>
                        <asp:Label runat="server" Text="" ID="lbl_id"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="ชื่อเรียก" ItemStyle-Width="200">
                    <ItemTemplate>
                        <asp:Label runat="server" Text="" ID="lbl_username"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="ชื่อ" ItemStyle-Width="250">
                    <ItemTemplate>
                        <asp:Label runat="server" Text="" ID="lbl_name"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="นามสกุล" ItemStyle-Width="250">
                    <ItemTemplate>
                        <asp:Label runat="server" Text="" ID="lbl_surname"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="ล็อกอิน" ItemStyle-Width="250">
                    <ItemTemplate>
                        <asp:Label runat="server" Text="" ID="lbl_login"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="รหัสผ่าน">
                    <ItemTemplate>
                        <asp:Label runat="server" Text="" ID="lbl_password"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="เบอร์โทร." ItemStyle-Width="200">
                    <ItemTemplate>
                        <asp:Label runat="server" Text="" ID="lbl_tel"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="สถานะ" ItemStyle-Width="100">
                    <ItemTemplate>
                        <asp:Label runat="server" Text="" ID="lbl_disable"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>



            </Columns>
            <FooterStyle BackColor="#CCCC99" />
            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
            <RowStyle BackColor="#F7F7DE" />
            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#FBFBF2" />
            <SortedAscendingHeaderStyle BackColor="#848384" />
            <SortedDescendingCellStyle BackColor="#EAEAD3" />
            <SortedDescendingHeaderStyle BackColor="#575357" />
        </asp:GridView>
    </div>


</asp:Content>

